<div xmlns:ext="http://www.extjs.com" class="body-wrap"><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.util.Observable.html" ext:member="" ext:cls="Ext.util.Observable">Observable</a>
  <img src="resources/elbow-end.gif"><a href="output/Ext.data.Proxy.html" ext:member="" ext:cls="Ext.data.Proxy">Proxy</a>
    <img src="resources/elbow-end.gif"><a href="output/Ext.data.ServerProxy.html" ext:member="" ext:cls="Ext.data.ServerProxy">ServerProxy</a>
      <img src="resources/elbow-end.gif"><a href="output/Ext.data.AjaxProxy.html" ext:member="" ext:cls="Ext.data.AjaxProxy">AjaxProxy</a>
        <img src="resources/elbow-end.gif">RestProxy</pre></div><h1>Class <a href="source/RestProxy.html#cls-Ext.data.RestProxy">Ext.data.RestProxy</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.data</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/RestProxy.html#cls-Ext.data.RestProxy">RestProxy.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/RestProxy.html#cls-Ext.data.RestProxy">RestProxy</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.data.AjaxProxy.html" ext:cls="Ext.data.AjaxProxy" ext:member="">AjaxProxy</a></td></tr></table><div class="description"><p>RestProxy is a specialization of the <a href="output/Ext.data.AjaxProxy.html" ext:cls="Ext.data.AjaxProxy">AjaxProxy</a> which simply maps the four actions 
(create, read, update and destroy) to RESTful HTTP verbs. For example, let's set up a <a href="output/Ext.data.Model.html" ext:cls="Ext.data.Model">Model</a>
with an inline RestProxy</p>
<pre><code>Ext.regModel(<em>'User'</em>, {
    fields: [<em>'id'</em>, <em>'name'</em>, <em>'email'</em>],

    proxy: {
        type: <em>'rest'</em>,
        url : <em>'/users'</em>
    }
});</code></pre>
<p>Now we can create a new User instance and save it via the RestProxy. Doing this will cause the Proxy to send a
POST request to '/users':
<pre><code><b>var</b> user = Ext.ModelMgr.create({name: <em>'Ed Spencer'</em>, email: <em>'ed@sencha.com'</em>}, <em>'User'</em>);

user.save(); <i>//POST /users</i></code></pre>
<p>Let's expand this a little and provide a callback for the <a href="output/Ext.data.Model.html#Ext.data.Model-save" ext:member="save" ext:cls="Ext.data.Model">Ext.data.Model.save</a> call to update the Model
once it has been created. We'll assume the creation went successfully and that the server gave this user an ID of 
123:</p>
<pre><code>user.save({
    success: <b>function</b>(user) {
        user.set(<em>'name'</em>, <em>'Khan Noonien Singh'</em>);

        user.save(); <i>//PUT /users/123</i>
    }
});</code></pre>
<p>Now that we're no longer creating a new Model instance, the request method is changed to an HTTP PUT, targeting
the relevant url for that user. Now let's delete this user, which will use the DELETE method:</p>
<pre><code>user.destroy(); <i>//DELETE /users/123</i></code></pre>
<p>Finally, when we perform a load of a Model or Store, RestProxy will use the GET method:</p>
<pre><code><i>//1. Load via Store</i>

<i>//the Store automatically picks up the Proxy from the User model</i>
<b>var</b> store = <b>new</b> Ext.data.Store({
    model: <em>'User'</em>
});

store.load(); <i>//GET /users</i>

<i>//2. Load directly from the Model</i>

<i>//GET /users/123</i>
Ext.ModelMgr.getModel(<em>'User'</em>).load(123, {
    success: <b>function</b>(user) {
        console.log(user.getId()); <i>//outputs 123</i>
    }
});</code></pre>
<p><u>Url generation</u></p>
<p>RestProxy is able to automatically generate the urls above based on two configuration options - <a href="output/Ext.data.RestProxy.html#Ext.data.RestProxy-appendId" ext:member="appendId" ext:cls="Ext.data.RestProxy">appendId</a>
and <a href="output/Ext.data.RestProxy.html#Ext.data.RestProxy-format" ext:member="format" ext:cls="Ext.data.RestProxy">format</a>. If appendId is true (it is by default) then RestProxy will automatically append the ID of the 
Model instance in question to the configured url, resulting in the '/users/123' that we saw above.</p>
<p>If the request is not for a specific Model instance (e.g. loading a Store), the url is not appended with an id. 
RestProxy will automatically insert a '/' before the ID if one is not already present.</p>
<pre><code><b>new</b> Ext.data.RestProxy({
    url: <em>'/users'</em>,
    appendId: true <i>//<b>default</b></i>
});

<i>// Collection url: /users</i>
<i>// Instance url  : /users/123</i></code></pre>
<p>RestProxy can also optionally append a format string to the end of any generated url:</p>
<pre><code><b>new</b> Ext.data.RestProxy({
    url: <em>'/users'</em>,
    format: <em>'json'</em>
});

<i>// Collection url: /users.json</i>
<i>// Instance url  : /users/123.json</i></code></pre>
<p>If further customization is needed, simply implement the <a href="output/Ext.data.RestProxy.html#Ext.data.RestProxy-buildUrl" ext:member="buildUrl" ext:cls="Ext.data.RestProxy">buildUrl</a> method and add your custom generated
url onto the <a href="output/Ext.data.Request.html" ext:cls="Ext.data.Request">Request</a> object that is passed to buildUrl. See 
<a href="source/RestProxy.html#method-Ext.data.RestProxy-buildUrl">RestProxy's implementation</a> for an example of
how to achieve this.</p>
<p>Note that RestProxy inherits from <a href="output/Ext.data.AjaxProxy.html" ext:cls="Ext.data.AjaxProxy">AjaxProxy</a>, which already injects all of the sorter,
filter, group and paging options into the generated url. See the <a href="output/Ext.data.AjaxProxy.html" ext:cls="Ext.data.AjaxProxy">AjaxProxy docs</a> for more
details.</p></div><div class="hr"></div><a id="Ext.data.RestProxy-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.RestProxy-appendId"></a><b><a href="source/RestProxy.html#cfg-Ext.data.RestProxy-appendId">appendId</a></b> : Boolean<div class="mdesc"><div class="short">True to automatically append the ID of a Model instance when performing a request based
on that single instance. See ...</div><div class="long">True to automatically append the ID of a Model instance when performing a request based
on that single instance. See RestProxy intro docs for more details. Defaults to true.</div></div></td><td class="msource">RestProxy</td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-batchOrder"></a><b><a href="source/Proxy.html#cfg-Ext.data.Proxy-batchOrder">batchOrder</a></b> : String<div class="mdesc"><div class="short">Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this
to set a different ord...</div><div class="long">Comma-separated ordering 'create', 'update' and 'destroy' actions when batching. Override this
to set a different order for the batched CRUD actions to be executed in. Defaults to 'create,update,destroy'</div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#batchOrder" ext:member="#batchOrder" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-cacheString"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-cacheString">cacheString</a></b> : String<div class="mdesc">The name of the cache param added to the url when using noCache (defaults to "_dc")</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#cacheString" ext:member="#cacheString" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-extraParams"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-extraParams">extraParams</a></b> : Object<div class="mdesc"><div class="short">Extra parameters that will be included on every request. Individual requests with params
of the same name will overri...</div><div class="long">Extra parameters that will be included on every request. Individual requests with params
of the same name will override these params when they are in conflict.</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#extraParams" ext:member="#extraParams" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-filterParam"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-filterParam">filterParam</a></b> : String<div class="mdesc"><div class="short">The name of the 'filter' parameter to send in a request. Defaults to 'filter'. Set 
this to undefined if you don't wa...</div><div class="long">The name of the 'filter' parameter to send in a request. Defaults to 'filter'. Set 
this to undefined if you don't want to send a filter parameter</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#filterParam" ext:member="#filterParam" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.RestProxy-format"></a><b><a href="source/RestProxy.html#cfg-Ext.data.RestProxy-format">format</a></b> : String<div class="mdesc"><div class="short">Optional data format to send to the server when making any request (e.g. 'json'). See the
RestProxy intro docs for fu...</div><div class="long">Optional data format to send to the server when making any request (e.g. 'json'). See the
RestProxy intro docs for full details. Defaults to undefined.</div></div></td><td class="msource">RestProxy</td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-groupParam"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-groupParam">groupParam</a></b> : String<div class="mdesc"><div class="short">The name of the 'group' parameter to send in a request. Defaults to 'group'. Set this
to undefined if you don't want ...</div><div class="long">The name of the 'group' parameter to send in a request. Defaults to 'group'. Set this
to undefined if you don't want to send a group parameter</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#groupParam" ext:member="#groupParam" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.AjaxProxy-headers"></a><b><a href="source/AjaxProxy.html#cfg-Ext.data.AjaxProxy-headers">headers</a></b> : Object<div class="mdesc">Any headers to add to the Ajax request. Defaults to <tt>undefined</tt>.</div></td><td class="msource"><a href="output/Ext.data.AjaxProxy.html#headers" ext:member="#headers" ext:cls="Ext.data.AjaxProxy">AjaxProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-limitParam"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-limitParam">limitParam</a></b> : String<div class="mdesc"><div class="short">The name of the 'limit' parameter to send in a request. Defaults to 'limit'. Set this
to undefined if you don't want ...</div><div class="long">The name of the 'limit' parameter to send in a request. Defaults to 'limit'. Set this
to undefined if you don't want to send a limit parameter</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#limitParam" ext:member="#limitParam" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-listeners"></a><b><a href="source/Observable.html#cfg-Ext.util.Observable-listeners">listeners</a></b> : Object<div class="mdesc"><div class="short">A config object containing one or more event handlers to be added to this
object during initialization.  This should ...</div><div class="long"><p>A config object containing one or more event handlers to be added to this
object during initialization.  This should be a valid listeners config object as specified in the
<a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> example for attaching multiple handlers at once.</p>
<br><p><b><u>DOM events from ExtJs <a href="output/Ext.Component.html" ext:cls="Ext.Component">Components</a></u></b></p>
<br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
is usually only done when extra value can be added. For example the <a href="output/Ext.DataView.html" ext:cls="Ext.DataView">DataView</a>'s
<b><code><a href="output/Ext.DataView.html#Ext.DataView-click" ext:member="click" ext:cls="Ext.DataView">click</a></code></b> event passing the node clicked on. To access DOM
events directly from a child element of a Component, we need to specify the <code>element</code> option to
identify the Component property to add a DOM listener to:
<pre><code><b>new</b> Ext.Panel({
    width: 400,
    height: 200,
    dockedItems: [{
        xtype: <em>'toolbar'</em>
    }],
    listeners: {
        click: {
            element: <em>'el'</em>, <i>//bind to the underlying el property on the panel</i>
            fn: <b>function</b>(){ console.log(<em>'click el'</em>); }
        },
        dblclick: {
            element: <em>'body'</em>, <i>//bind to the underlying body property on the panel</i>
            fn: <b>function</b>(){ console.log(<em>'dblclick body'</em>); }
        }
    }
});</code></pre>
</p></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#listeners" ext:member="#listeners" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-model"></a><b><a href="source/Proxy.html#cfg-Ext.data.Proxy-model">model</a></b> : String/Ext.data.Model<div class="mdesc"><div class="short">The name of the Model to tie to this Proxy. Can be either the string name of
the Model, or a reference to the Model c...</div><div class="long">The name of the Model to tie to this Proxy. Can be either the string name of
the Model, or a reference to the Model constructor. Required.</div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#model" ext:member="#model" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-noCache"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-noCache">noCache</a></b> : Boolean<div class="mdesc">Defaults to true. Disable caching by adding a unique parameter
name to the request.</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#noCache" ext:member="#noCache" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-pageParam"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-pageParam">pageParam</a></b> : String<div class="mdesc"><div class="short">The name of the 'page' parameter to send in a request. Defaults to 'page'. Set this to
undefined if you don't want to...</div><div class="long">The name of the 'page' parameter to send in a request. Defaults to 'page'. Set this to
undefined if you don't want to send a page parameter</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#pageParam" ext:member="#pageParam" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-reader"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-reader">reader</a></b> : Object/String/Ext.data.Reader<div class="mdesc"><div class="short">The Ext.data.Reader to use to decode the server's response. This can
either be a Reader instance, a config object or ...</div><div class="long">The Ext.data.Reader to use to decode the server's response. This can
either be a Reader instance, a config object or just a valid Reader type name (e.g. 'json', 'xml').</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#reader" ext:member="#reader" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-sortParam"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-sortParam">sortParam</a></b> : String<div class="mdesc"><div class="short">The name of the 'sort' parameter to send in a request. Defaults to 'sort'. Set this
to undefined if you don't want to...</div><div class="long">The name of the 'sort' parameter to send in a request. Defaults to 'sort'. Set this
to undefined if you don't want to send a sort parameter</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#sortParam" ext:member="#sortParam" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-startParam"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-startParam">startParam</a></b> : String<div class="mdesc"><div class="short">The name of the 'start' parameter to send in a request. Defaults to 'start'. Set this
to undefined if you don't want ...</div><div class="long">The name of the 'start' parameter to send in a request. Defaults to 'start'. Set this
to undefined if you don't want to send a start parameter</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#startParam" ext:member="#startParam" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-timeout"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-timeout">timeout</a></b> : Number<div class="mdesc">The number of milliseconds to wait for a response. Defaults to 30 seconds.</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#timeout" ext:member="#timeout" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row  inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-url"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-url">url</a></b> : String<div class="mdesc">The URL from which to request the data object.</div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#url" ext:member="#url" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-writer"></a><b><a href="source/ServerProxy.html#cfg-Ext.data.ServerProxy-writer">writer</a></b> : Object/String/Ext.data.Writer<div class="mdesc"><div class="short">The Ext.data.Writer to use to encode any request sent to the server.
This can either be a Writer instance, a config o...</div><div class="long">The Ext.data.Writer to use to encode any request sent to the server.
This can either be a Writer instance, a config object or just a valid Writer type name (e.g. 'json', 'xml').</div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#writer" ext:member="#writer" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr></tbody></table><a id="Ext.data.RestProxy-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.RestProxy-actionMethods"></a><b><a href="source/RestProxy.html#prop-Ext.data.RestProxy-actionMethods">actionMethods</a></b> : Object<div class="mdesc"><div class="short">Mapping of action name to HTTP request method. These default to RESTful conventions for the 'create', 'read',
'update...</div><div class="long">Mapping of action name to HTTP request method. These default to RESTful conventions for the 'create', 'read',
'update' and 'destroy' actions (which map to 'POST', 'GET', 'PUT' and 'DELETE' respectively). This object should
not be changed except globally via <a href="output/Ext.override.html" ext:cls="Ext.override">Ext.override</a> - the <a href="output/Ext.data.RestProxy.html#Ext.data.RestProxy-getMethod" ext:member="getMethod" ext:cls="Ext.data.RestProxy">getMethod</a> function can be overridden instead.</div></div></td><td class="msource">RestProxy</td></tr></tbody></table><a id="Ext.data.RestProxy-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-addEvents"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-addEvents">addEvents</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Object|String&nbsp;o</span><span class="comma">,&nbsp;</span><span title="Required" class="required">string&nbsp;Optional.</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Adds the specified events to the list of events which this Observable may fire.</div><div class="long">Adds the specified events to the list of events which this Observable may fire.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object|String<div class="sub-desc">Either an object with event names as properties with a value of <code>true</code>
or the first event name string if multiple event names are being passed as separate parameters.</div></li><li><code>Optional.</code> : string<div class="sub-desc">Event name if multiple event names are being passed as separate parameters.
Usage:<pre><code>this.addEvents(<em>'storeloaded'</em>, <em>'storecleared'</em>);</code></pre></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#addEvents" ext:member="#addEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-addListener"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-addListener">addListener</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String&nbsp;eventName</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;handler</span><span class="comma">,&nbsp;</span><span title="Optional" class="optional">[Object&nbsp;scope]</span><span class="comma">,&nbsp;</span><span title="Optional" class="optional">[Object&nbsp;options]</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Appends an event handler to this object.</div><div class="long">Appends an event handler to this object.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to listen for. May also be an object who's property names are event names. See</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes.</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
<b>If omitted, defaults to the object which fired the event.</b></div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration.
properties. This may contain any of the following properties:<ul>
<li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
<b>If omitted, defaults to the object which fired the event.</b></div></li>
<li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
<li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
<li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="output/Ext.util.DelayedTask.html" ext:cls="Ext.util.DelayedTask">Ext.util.DelayedTask</a> delayed
by the specified number of milliseconds. If the event fires again within that time, the original
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
<li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
if the event was bubbled up from a child Observable.</div></li>
<li><b>element</b> : String<div class="sub-desc"><b>This option is only valid for listeners bound to <a href="output/Ext.Component.html" ext:cls="Ext.Component">Components</a>.</b>
The name of a Component property which references an element to add a listener to.
<p>This option is useful during Component construction to add DOM event listeners to elements of <a href="output/Ext.Component.html" ext:cls="Ext.Component">Components</a> which
will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:<pre><code><b>new</b> Ext.Panel({
    title: <em>'The title'</em>,
    listeners: {
        click: this.handlePanelClick,
        element: <em>'body'</em>
    }
});</code></pre></p>
<p>When added in this way, the options available are the options applicable to <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">Ext.Element.addListener</a></p></div></li>
</ul><br>
<p>
<b>Combining Options</b><br>
Using the options argument, it is possible to combine different types of listeners:<br>
<br>
A delayed, one-time listener.
<pre><code>myPanel.on(<em>'hide'</em>, this.handleClick, this, {
single: true,
delay: 100
});</code></pre>
<p>
<b>Attaching multiple handlers in 1 call</b><br>
The method also allows for a single argument to be passed which is a config object containing properties
which specify multiple events. For example:<pre><code>myGridPanel.on({
    cellClick: this.onCellClick,
    mouseover: this.onMouseOver,
    mouseout: this.onMouseOut,
    scope: this <i>// Important. Ensure <em>"this"</em> is correct during handler execution</i>
});</code></pre>.
<p></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#addListener" ext:member="#addListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-addManagedListener"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-addManagedListener">addManagedListener</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Observable|Element&nbsp;item</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object|String&nbsp;ename</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;fn</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;scope</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;opt</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Adds listeners to any Observable object (or Element) which are automatically removed when this Component
is destroyed...</div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
is destroyed.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>item</code> : Observable|Element<div class="sub-desc">The item to which to add a listener/listeners.</div></li><li><code>ename</code> : Object|String<div class="sub-desc">The event name, or an object containing event name properties.</div></li><li><code>fn</code> : Function<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the handler function.</div></li><li><code>scope</code> : Object<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the scope (<code>this</code> reference) in which the handler function is executed.</div></li><li><code>opt</code> : Object<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> options.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#addManagedListener" ext:member="#addManagedListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-afterRequest"></a><b class="method"><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-afterRequest">afterRequest</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Request&nbsp;request</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Boolean&nbsp;success</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Optional callback function which can be used to clean up after a request has been completed.</div><div class="long">Optional callback function which can be used to clean up after a request has been completed.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>request</code> : Ext.data.Request<div class="sub-desc">The Request object</div></li><li><code>success</code> : Boolean<div class="sub-desc">True if the request was successful</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#afterRequest" ext:member="#afterRequest" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-batch"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-batch">batch</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Object&nbsp;operations</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;listeners</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Ext.data.Batch</span><div class="mdesc"><div class="short">Performs a batch of Operations, in the order specified by batchOrder. Used internally by
Ext.data.Store's sync method...</div><div class="long">Performs a batch of <a href="output/Ext.data.Operation.html" ext:cls="Ext.data.Operation">Operations</a>, in the order specified by <a href="output/Ext.data.Proxy.html#Ext.data.Proxy-batchOrder" ext:member="batchOrder" ext:cls="Ext.data.Proxy">batchOrder</a>. Used internally by
<a href="output/Ext.data.Store.html" ext:cls="Ext.data.Store">Ext.data.Store</a>'s <a href="output/Ext.data.Store.html#Ext.data.Store-sync" ext:member="sync" ext:cls="Ext.data.Store">sync</a> method. Example usage:
<pre><code>myProxy.batch({
create : [myModel1, myModel2],
update : [myModel3],
destroy: [myModel4, myModel5]
});</code></pre>
Where the myModel* above are <a href="output/Ext.data.Model.html" ext:cls="Ext.data.Model">Model</a> instances - in this case 1 and 2 are new instances and have not been 
saved before, 3 has been saved previously but needs to be updated, and 4 and 5 have already been saved but should now be destroyed.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operations</code> : Object<div class="sub-desc">Object containing the Model instances to act upon, keyed by action name</div></li><li><code>listeners</code> : Object<div class="sub-desc">Optional listeners object passed straight through to the Batch - see <a href="output/Ext.data.Batch.html" ext:cls="Ext.data.Batch">Ext.data.Batch</a></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Batch</code><div class="sub-desc">The newly created Ext.data.Batch object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#batch" ext:member="#batch" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-buildRequest"></a><b class="method"><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-buildRequest">buildRequest</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Operation&nbsp;operation</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Ext.data.Request</span><div class="mdesc"><div class="short">Creates and returns an Ext.data.Request object based on the options passed by the Store
that this Proxy is attached t...</div><div class="long">Creates and returns an Ext.data.Request object based on the options passed by the <a href="output/Ext.data.Store.html" ext:cls="Ext.data.Store">Store</a>
that this Proxy is attached to.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The <a href="output/Ext.data.Operation.html" ext:cls="Ext.data.Operation">Operation</a> object to execute</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Request</code><div class="sub-desc">The request object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#buildRequest" ext:member="#buildRequest" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.RestProxy-buildUrl"></a><b class="method"><a href="source/RestProxy.html#method-Ext.data.RestProxy-buildUrl">buildUrl</a></b><span class="openparen">(</span><span class="closeparen">)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Specialized version of buildUrl that incorporates the appendId and format options into the
generated url. Override th...</div><div class="long">Specialized version of buildUrl that incorporates the <a href="output/Ext.data.RestProxy.html#Ext.data.RestProxy-appendId" ext:member="appendId" ext:cls="Ext.data.RestProxy">appendId</a> and <a href="output/Ext.data.RestProxy.html#Ext.data.RestProxy-format" ext:member="format" ext:cls="Ext.data.RestProxy">format</a> options into the
generated url. Override this to provide further customizations, but remember to call the superclass buildUrl
so that additional parameters like the cache buster string are appended<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">RestProxy</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-clearListeners"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-clearListeners">clearListeners</a></b><span class="openparen">(</span><span class="closeparen">)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Removes all listeners for this object including the managed listeners</div><div class="long">Removes all listeners for this object including the managed listeners<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#clearListeners" ext:member="#clearListeners" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-clearManagedListeners"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-clearManagedListeners">clearManagedListeners</a></b><span class="openparen">(</span><span class="closeparen">)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Removes all managed listeners for this object.</div><div class="long">Removes all managed listeners for this object.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#clearManagedListeners" ext:member="#clearManagedListeners" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-create"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-create">create</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Operation&nbsp;operation</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;callback</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;scope</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Performs the given create operation.</div><div class="long">Performs the given create operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#create" ext:member="#create" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-destroy"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-destroy">destroy</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Operation&nbsp;operation</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;callback</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;scope</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Performs the given destroy operation.</div><div class="long">Performs the given destroy operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#destroy" ext:member="#destroy" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-doRequest"></a><b class="method"><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-doRequest">doRequest</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Operation&nbsp;operation</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;callback</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;scope</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">In ServerProxy subclasses, the create, read, update and destroy methods all pass
through to doRequest. Each ServerPro...</div><div class="long">In ServerProxy subclasses, the <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-create" ext:member="create" ext:cls="Ext.data.ServerProxy">create</a>, <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-read" ext:member="read" ext:cls="Ext.data.ServerProxy">read</a>, <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-update" ext:member="update" ext:cls="Ext.data.ServerProxy">update</a> and <a href="output/Ext.data.ServerProxy.html#Ext.data.ServerProxy-destroy" ext:member="destroy" ext:cls="Ext.data.ServerProxy">destroy</a> methods all pass
through to doRequest. Each ServerProxy subclass must implement the doRequest method - see <a href="output/Ext.data.ScriptTagProxy.html" ext:cls="Ext.data.ScriptTagProxy">Ext.data.ScriptTagProxy</a>
and <a href="output/Ext.data.AjaxProxy.html" ext:cls="Ext.data.AjaxProxy">Ext.data.AjaxProxy</a> for examples. This method carries the same signature as each of the methods that delegate to it.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Ext.data.Operation object</div></li><li><code>callback</code> : Function<div class="sub-desc">The callback function to call when the Operation has completed</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope in which to execute the callback</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#doRequest" ext:member="#doRequest" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-enableBubble"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-enableBubble">enableBubble</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String/Array&nbsp;events</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
<code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
<p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href="output/Ext.Component.getBubbleTarget.html" ext:cls="Ext.Component.getBubbleTarget">Ext.Component.getBubbleTarget</a>. The default
implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to
access the required target more quickly.</p>
<p>Example:</p><pre><code>Ext.override(Ext.form.Field, {
<i>//  Add functionality to Field&#39;s initComponent to enable the change event to bubble</i>
initComponent : Ext.createSequence(Ext.form.Field.prototype.initComponent, <b>function</b>() {
    this.enableBubble(<em>'change'</em>);
}),

<i>//  We know that we want Field&#39;s events to bubble directly to the FormPanel.</i>
getBubbleTarget : <b>function</b>() {
    <b>if</b> (!this.formPanel) {
        this.formPanel = this.findParentByType(<em>'form'</em>);
    }
    <b>return</b> this.formPanel;
}
});

<b>var</b> myForm = <b>new</b> Ext.formPanel({
title: <em>'User Details'</em>,
items: [{
    ...
}],
listeners: {
    change: <b>function</b>() {
        <i>// Title goes red <b>if</b> form has been modified.</i>
        myForm.header.setStyle(<em>'color'</em>, <em>'red'</em>);
    }
}
});</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>events</code> : String/Array<div class="sub-desc">The event name to bubble, or an Array of event names.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#enableBubble" ext:member="#enableBubble" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-encodeFilters"></a><b class="method"><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-encodeFilters">encodeFilters</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Array&nbsp;sorters</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">String</span><div class="mdesc"><div class="short">Encodes the array of Ext.util.Filter objects into a string to be sent in the request url. By default, 
this simply JS...</div><div class="long">Encodes the array of <a href="output/Ext.util.Filter.html" ext:cls="Ext.util.Filter">Ext.util.Filter</a> objects into a string to be sent in the request url. By default, 
this simply JSON-encodes the filter data<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>sorters</code> : Array<div class="sub-desc">The array of <a href="output/Ext.util.Filter.html" ext:cls="Ext.util.Filter">Filter</a> objects</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The encoded filters</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#encodeFilters" ext:member="#encodeFilters" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-encodeGroupers"></a><b class="method"><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-encodeGroupers">encodeGroupers</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Object&nbsp;group</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">String</span><div class="mdesc"><div class="short">Encodes the grouping object (field and direction) into a string to be sent in the request url. Be default, this
simpl...</div><div class="long">Encodes the grouping object (field and direction) into a string to be sent in the request url. Be default, this
simply JSON-encodes the grouping data<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>group</code> : Object<div class="sub-desc">The group configuration (field and direction)</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The encoded group string</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#encodeGroupers" ext:member="#encodeGroupers" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.ServerProxy-encodeSorters"></a><b class="method"><a href="source/ServerProxy.html#method-Ext.data.ServerProxy-encodeSorters">encodeSorters</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Array&nbsp;sorters</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">String</span><div class="mdesc"><div class="short">Encodes the array of Ext.util.Sorter objects into a string to be sent in the request url. By default, 
this simply JS...</div><div class="long">Encodes the array of <a href="output/Ext.util.Sorter.html" ext:cls="Ext.util.Sorter">Ext.util.Sorter</a> objects into a string to be sent in the request url. By default, 
this simply JSON-encodes the sorter data<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>sorters</code> : Array<div class="sub-desc">The array of <a href="output/Ext.util.Sorter.html" ext:cls="Ext.util.Sorter">Sorter</a> objects</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The encoded sorters</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.ServerProxy.html#encodeSorters" ext:member="#encodeSorters" ext:cls="Ext.data.ServerProxy">ServerProxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-fireEvent"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-fireEvent">fireEvent</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String&nbsp;eventName</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object...&nbsp;args</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Boolean</span><div class="mdesc"><div class="short">Fires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse...</div><div class="long"><p>Fires the specified event with the passed parameters (minus the event name).</p>
<p>An event may be set to bubble up an Observable parent hierarchy (See <a href="output/Ext.Component.html#Ext.Component-getBubbleTarget" ext:member="getBubbleTarget" ext:cls="Ext.Component">Ext.Component.getBubbleTarget</a>)
by calling <a href="output/Ext.util.Observable.html#Ext.util.Observable-enableBubble" ext:member="enableBubble" ext:cls="Ext.util.Observable">enableBubble</a>.</p><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to fire.</div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers.</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#fireEvent" ext:member="#fireEvent" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.AjaxProxy-getMethod"></a><b class="method"><a href="source/AjaxProxy.html#method-Ext.data.AjaxProxy-getMethod">getMethod</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Request&nbsp;request</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">String</span><div class="mdesc"><div class="short">Returns the HTTP method name for a given request. By default this returns based on a lookup on actionMethods.</div><div class="long">Returns the HTTP method name for a given request. By default this returns based on a lookup on <a href="output/Ext.data.AjaxProxy.html#Ext.data.AjaxProxy-actionMethods" ext:member="actionMethods" ext:cls="Ext.data.AjaxProxy">actionMethods</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>request</code> : Ext.data.Request<div class="sub-desc">The request object</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The HTTP method to use (should be one of 'GET', 'POST', 'PUT' or 'DELETE')</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.AjaxProxy.html#getMethod" ext:member="#getMethod" ext:cls="Ext.data.AjaxProxy">AjaxProxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-getModel"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-getModel">getModel</a></b><span class="openparen">(</span><span class="closeparen">)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Ext.data.Model</span><div class="mdesc"><div class="short">Returns the model attached to this Proxy</div><div class="long">Returns the model attached to this Proxy<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Model</code><div class="sub-desc">The model</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#getModel" ext:member="#getModel" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-getReader"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-getReader">getReader</a></b><span class="openparen">(</span><span class="closeparen">)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Ext.data.Reader</span><div class="mdesc"><div class="short">Returns the reader currently attached to this proxy instance</div><div class="long">Returns the reader currently attached to this proxy instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Reader</code><div class="sub-desc">The Reader instance</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#getReader" ext:member="#getReader" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-getWriter"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-getWriter">getWriter</a></b><span class="openparen">(</span><span class="closeparen">)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Ext.data.Writer</span><div class="mdesc"><div class="short">Returns the writer currently attached to this proxy instance</div><div class="long">Returns the writer currently attached to this proxy instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Writer</code><div class="sub-desc">The Writer instance</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#getWriter" ext:member="#getWriter" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-hasListener"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-hasListener">hasListener</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String&nbsp;eventName</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Boolean</span><div class="mdesc"><div class="short">Checks to see if this object has any listeners for a specified event</div><div class="long">Checks to see if this object has any listeners for a specified event<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#hasListener" ext:member="#hasListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-on"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-on">on</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String&nbsp;eventName</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;handler</span><span class="comma">,&nbsp;</span><span title="Optional" class="optional">[Object&nbsp;scope]</span><span class="comma">,&nbsp;</span><span title="Optional" class="optional">[Object&nbsp;options]</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Appends an event handler to this object (shorthand for addListener.)</div><div class="long">Appends an event handler to this object (shorthand for <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a>.)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
<b>If omitted, defaults to the object which fired the event.</b></div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#on" ext:member="#on" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-read"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-read">read</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Operation&nbsp;operation</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;callback</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;scope</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Performs the given read operation.</div><div class="long">Performs the given read operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#read" ext:member="#read" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-relayEvents"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-relayEvents">relayEvents</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Object&nbsp;o</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Array&nbsp;events</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Relays selected events from the specified Observable as if the events were fired by this.</div><div class="long">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#relayEvents" ext:member="#relayEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-removeListener"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-removeListener">removeListener</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String&nbsp;eventName</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;handler</span><span class="comma">,&nbsp;</span><span title="Optional" class="optional">[Object&nbsp;scope]</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Removes an event handler.</div><div class="long">Removes an event handler.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The type of event the handler was associated with.</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope originally specified for the handler.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#removeListener" ext:member="#removeListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-removeManagedListener"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-removeManagedListener">removeManagedListener</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Observable|Element&nbsp;item</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object|String&nbsp;ename</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;fn</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;scope</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Removes listeners that were added by the mon method.</div><div class="long">Removes listeners that were added by the <a href="output/Ext.util.Observable.html#Ext.util.Observable-mon" ext:member="mon" ext:cls="Ext.util.Observable">mon</a> method.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>item</code> : Observable|Element<div class="sub-desc">The item from which to remove a listener/listeners.</div></li><li><code>ename</code> : Object|String<div class="sub-desc">The event name, or an object containing event name properties.</div></li><li><code>fn</code> : Function<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the handler function.</div></li><li><code>scope</code> : Object<div class="sub-desc">Optional. If the <code>ename</code> parameter was an event name, this
is the scope (<code>this</code> reference) in which the handler function is executed.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#removeManagedListener" ext:member="#removeManagedListener" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-resumeEvents"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-resumeEvents">resumeEvents</a></b><span class="openparen">(</span><span class="closeparen">)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Resume firing events. (see suspendEvents)
If events were suspended using the queueSuspended parameter, then all
event...</div><div class="long">Resume firing events. (see <a href="output/Ext.util.Observable.html#Ext.util.Observable-suspendEvents" ext:member="suspendEvents" ext:cls="Ext.util.Observable">suspendEvents</a>)
If events were suspended using the <tt><b>queueSuspended</b></tt> parameter, then all
events fired during event suspension will be sent to any listeners now.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#resumeEvents" ext:member="#resumeEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-setModel"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-setModel">setModel</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String|Ext.data.Model&nbsp;model</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Boolean&nbsp;setOnStore</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Sets the model associated with this proxy. This will only usually be called by a Store</div><div class="long">Sets the model associated with this proxy. This will only usually be called by a Store<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>model</code> : String|Ext.data.Model<div class="sub-desc">The new model. Can be either the model name string,
or a reference to the model's constructor</div></li><li><code>setOnStore</code> : Boolean<div class="sub-desc">Sets the new model on the associated Store, if one is present</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#setModel" ext:member="#setModel" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-setReader"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-setReader">setReader</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String|Object|Ext.data.Reader&nbsp;reader</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Ext.data.Reader</span><div class="mdesc"><div class="short">Sets the Proxy's Reader by string, config object or Reader instance</div><div class="long">Sets the Proxy's Reader by string, config object or Reader instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>reader</code> : String|Object|Ext.data.Reader<div class="sub-desc">The new Reader, which can be either a type string, a configuration object
or an Ext.data.Reader instance</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Reader</code><div class="sub-desc">The attached Reader object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#setReader" ext:member="#setReader" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-setWriter"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-setWriter">setWriter</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String|Object|Ext.data.Writer&nbsp;writer</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">Ext.data.Writer</span><div class="mdesc"><div class="short">Sets the Proxy's Writer by string, config object or Writer instance</div><div class="long">Sets the Proxy's Writer by string, config object or Writer instance<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>writer</code> : String|Object|Ext.data.Writer<div class="sub-desc">The new Writer, which can be either a type string, a configuration object
or an Ext.data.Writer instance</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.data.Writer</code><div class="sub-desc">The attached Writer object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#setWriter" ext:member="#setWriter" ext:cls="Ext.data.Proxy">Proxy</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-suspendEvents"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-suspendEvents">suspendEvents</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Boolean&nbsp;queueSuspended</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Suspend the firing of all events. (see resumeEvents)</div><div class="long">Suspend the firing of all events. (see <a href="output/Ext.util.Observable.html#Ext.util.Observable-resumeEvents" ext:member="resumeEvents" ext:cls="Ext.util.Observable">resumeEvents</a>)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>queueSuspended</code> : Boolean<div class="sub-desc">Pass as true to queue up suspended events to be fired
after the <a href="output/Ext.util.Observable.html#Ext.util.Observable-resumeEvents" ext:member="resumeEvents" ext:cls="Ext.util.Observable">resumeEvents</a> call instead of discarding all suspended events;</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#suspendEvents" ext:member="#suspendEvents" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.util.Observable-un"></a><b class="method"><a href="source/Observable.html#method-Ext.util.Observable-un">un</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">String&nbsp;eventName</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;handler</span><span class="comma">,&nbsp;</span><span title="Optional" class="optional">[Object&nbsp;scope]</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Removes an event handler (shorthand for removeListener.)</div><div class="long">Removes an event handler (shorthand for <a href="output/Ext.util.Observable.html#Ext.util.Observable-removeListener" ext:member="removeListener" ext:cls="Ext.util.Observable">removeListener</a>.)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The type of event the handler was associated with.</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">addListener</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope originally specified for the handler.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.util.Observable.html#un" ext:member="#un" ext:cls="Ext.util.Observable">Observable</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.Proxy-update"></a><b class="method"><a href="source/Proxy.html#method-Ext.data.Proxy-update">update</a></b><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Operation&nbsp;operation</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Function&nbsp;callback</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;scope</span><span class="closeparen">&nbsp;)</span><span class="colon">&nbsp;:&nbsp;</span><span class="return">void</span><div class="mdesc"><div class="short">Performs the given update operation.</div><div class="long">Performs the given update operation.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The Operation to perform</div></li><li><code>callback</code> : Function<div class="sub-desc">Callback function to be called when the Operation has completed (whether successful or not)</div></li><li><code>scope</code> : Object<div class="sub-desc">Scope to execute the callback function in</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.Proxy.html#update" ext:member="#update" ext:cls="Ext.data.Proxy">Proxy</a></td></tr></tbody></table><a id="Ext.data.RestProxy-events"></a><h2>Public Events</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Event</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.data.AjaxProxy-exception"></a><b class="event"><a href="source/AjaxProxy.html#event-Ext.data.AjaxProxy-exception">exception</a></b><span class="colon">&nbsp;:&nbsp;</span><span class="openparen">(&nbsp;</span><span title="Required" class="required">Ext.data.Proxy&nbsp;this</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Object&nbsp;response</span><span class="comma">,&nbsp;</span><span title="Required" class="required">Ext.data.Operation&nbsp;operation</span><span class="closeparen">&nbsp;)</span><span>&nbsp;</span><div class="mdesc"><div class="short">Fires when the server returns an exception</div><div class="long">Fires when the server returns an exception<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>this</code> : Ext.data.Proxy<div class="sub-desc"></div></li><li><code>response</code> : Object<div class="sub-desc">The response from the AJAX request</div></li><li><code>operation</code> : Ext.data.Operation<div class="sub-desc">The operation that triggered request</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.data.AjaxProxy.html#exception" ext:member="#exception" ext:cls="Ext.data.AjaxProxy">AjaxProxy</a></td></tr></tbody></table></div>